From: Julian Sparber Date: Tue, 19 Mar 2024 13:06:38 +0000 (+0100) Subject: messageTray: Don't show expand button for notification banner X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~267^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8df0ccd0904dbb836a6cdb54a157173b37236100;p=gnome-shell.git messageTray: Don't show expand button for notification banner Currently we expand banners on hover, it's odd that there is also an expand button the user doesn't have to click. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7479 Part-of: --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 1a9ac6655..00a2a9b66 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1107,6 +1107,7 @@ export const MessageTray = GObject.registerClass({ this._banner = new Calendar.NotificationMessage(this._notification); this._banner.can_focus = false; + this._banner._header.expandButton.visible = false; this._banner.add_style_class_name('notification-banner'); this._bannerBin.add_child(this._banner);